/**
 * @description 头部setting配置选项
 * @author 盘古他爹
 */
interface IUserSetting {
  name: string
  children: IUserSetting[] | null
  icon: string
  type: string
}

const userSetting: IUserSetting[] = [
  {
    name: "设置",
    children: [
      {
        name: "地址",
        children: null,
        icon: "el-icon-info",
        type: "popconfirm"
      }
    ],
    icon: "el-icon-apple",
    type: "dropdownMenu"
  },
  {
    name: "退出登录",
    children: null,
    icon: "el-icon-apple",
    type: "popconfirm"
  }
]

// type userSettings = InstanceType<typeof userSetting>

export { userSetting, IUserSetting }
